-
-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MNT: Refactor flight prints module #579
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- F-strings as faster in python, let's use them! - Added a docstring to the module! - useless comments were removed - docstrings were updated - no code line is longer than 88 columns (pylint and flake8 restriction) - improve parachute printing
Gui-FernandesBR
added
the
Outputs
Dedicated to visualizations enhancements like prints and plots
label
Mar 22, 2024
7 tasks
Please merge the #572 first! |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #579 +/- ##
===========================================
+ Coverage 72.65% 72.66% +0.01%
===========================================
Files 59 59
Lines 9614 9603 -11
===========================================
- Hits 6985 6978 -7
+ Misses 2629 2625 -4 ☔ View full report in Codecov by Sentry. |
MateusStano
approved these changes
Mar 22, 2024
Base automatically changed from
enh/adds-new-stability-margin-methods-to-flight
to
develop
March 22, 2024 16:10
Gui-FernandesBR
commented
Mar 23, 2024
Gui-FernandesBR
commented
Mar 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull request type
Checklist
black rocketpy/ tests/
) has passed locallypytest tests -m slow --runslow
) have passed locallyCHANGELOG.md
has been updated (if relevant)Current behavior
The code used within the
_FlightPrints
class is becoming quite outdated.It is basically the same code since rocketpy was created.
There are some quick improvements that we can do, while not changing the behavior of the class.
New behavior
The class still gives the same results, but with some refactoring like:
help(rocketpy.prints.flight_prints)
command will work.Breaking change
Additional information